import axios from '../router/axios'
//传formData数据
//import qs from 'qs.js' content-Type：application/x-www-form-urlencoded qs.stringify
export function login (formData) {
    return axios.post('/go-api/api/login', formData)
}
export function authPromise(query = {}) {
    return axios.get('/go-api/api/userInfo',{
        params: query
    })
}


